home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-09-08 | 10.8 KB | [TEXT/sLiN] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [sLiN] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 53 75 70 72 61 20 | 56 6f 69 63 65 26 46 61 |..Supra |Voice&Fa|
|00000010| 78 31 26 41 52 41 00 00 | 00 00 00 00 00 00 00 00 |x1&ARA..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 73 4c 69 | 4e 00 00 00 00 00 00 00 |.TEXTsLi|N.......|
|00000050| 00 00 00 00 00 28 47 00 | 00 01 ac aa 94 e8 dd aa |.....(G.|........|
|00000060| 94 e8 dd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b6 44 00 00 |........|.....D..|
|00000080| 21 56 32 2e 32 2e 31 30 | 0d 21 0d 21 24 20 55 73 |!V2.2.10|.!.!$ Us|
|00000090| 65 20 74 68 69 73 20 73 | 63 72 69 70 74 20 77 69 |e this s|cript wi|
|000000a0| 74 68 20 53 75 70 72 61 | 20 31 34 34 30 30 62 70 |th Supra| 14400bp|
|000000b0| 73 20 61 6e 64 20 39 36 | 30 30 62 70 73 20 66 61 |s and 96|00bps fa|
|000000c0| 78 20 6d 6f 64 65 6d 73 | 2e 0d 21 24 20 53 75 70 |x modems|..!$ Sup|
|000000d0| 70 6f 72 74 73 3a 20 76 | 6f 69 63 65 2c 20 66 61 |ports: v|oice, fa|
|000000e0| 78 2c 20 61 6e 64 20 41 | 52 41 20 69 6e 63 6f 6d |x, and A|RA incom|
|000000f0| 69 6e 67 20 63 61 6c 6c | 73 2e 0d 21 0d 21 24 20 |ing call|s..!.!$ |
|00000100| 4d 61 6b 65 20 73 75 72 | 65 20 74 68 61 74 20 2a |Make sur|e that *|
|00000110| 43 6c 61 73 73 20 31 2a | 20 66 61 78 20 73 6f 66 |Class 1*| fax sof|
|00000120| 74 77 61 72 65 20 69 73 | 20 69 6e 73 74 61 6c 6c |tware is| install|
|00000130| 65 64 2c 20 61 6e 64 20 | 74 68 61 74 0d 21 24 20 |ed, and |that.!$ |
|00000140| 79 6f 75 72 20 6d 6f 64 | 65 6d 20 68 61 73 20 76 |your mod|em has v|
|00000150| 6f 69 63 65 2d 63 61 70 | 61 62 6c 65 20 52 4f 4d |oice-cap|able ROM|
|00000160| 73 2e 0d 21 0d 21 24 20 | 41 20 68 61 72 64 77 61 |s..!.!$ |A hardwa|
|00000170| 72 65 20 68 61 6e 64 73 | 68 61 6b 69 6e 67 20 63 |re hands|haking c|
|00000180| 61 62 6c 65 20 69 73 20 | 72 65 71 75 69 72 65 64 |able is |required|
|00000190| 2e 0d 20 0d 5e 32 20 53 | 70 65 61 6b 65 72 20 4f |.. .^2 S|peaker O|
|000001a0| 6e 3a 20 20 20 20 20 20 | 20 20 3d 20 45 6e 75 6d |n: | = Enum|
|000001b0| 28 22 4e 65 76 65 72 22 | 20 3d 20 22 30 22 2c 22 |("Never"| = "0","|
|000001c0| 44 75 72 69 6e 67 20 43 | 6f 6e 6e 65 63 74 22 20 |During C|onnect" |
|000001d0| 3d 20 22 31 22 2c 22 41 | 6c 77 61 79 73 22 3d 22 |= "1","A|lways"="|
|000001e0| 32 22 29 20 22 31 22 0d | 5e 33 20 53 70 65 61 6b |2") "1".|^3 Speak|
|000001f0| 65 72 20 56 6f 6c 75 6d | 65 3a 20 20 20 3d 20 45 |er Volum|e: = E|
|00000200| 6e 75 6d 28 22 4c 6f 77 | 22 3d 22 31 22 2c 22 4d |num("Low|"="1","M|
|00000210| 65 64 69 75 6d 22 3d 22 | 32 22 2c 22 48 69 67 68 |edium"="|2","High|
|00000220| 22 3d 22 33 22 29 20 22 | 32 22 0d 5e 34 20 41 6e |"="3") "|2".^4 An|
|00000230| 73 77 65 72 20 4f 6e 3a | 20 20 20 20 20 20 20 20 |swer On:| |
|00000240| 20 3d 20 45 6e 75 6d 28 | 22 31 20 52 69 6e 67 22 | = Enum(|"1 Ring"|
|00000250| 3d 22 31 22 2c 22 32 20 | 52 69 6e 67 73 22 3d 22 |="1","2 |Rings"="|
|00000260| 32 22 2c 22 33 20 52 69 | 6e 67 73 22 3d 22 33 22 |2","3 Ri|ngs"="3"|
|00000270| 2c 22 35 20 52 69 6e 67 | 73 22 3d 22 35 22 2c 22 |,"5 Ring|s"="5","|
|00000280| 37 20 52 69 6e 67 73 22 | 3d 22 37 22 29 20 22 32 |7 Rings"|="7") "2|
|00000290| 22 0d 5e 36 20 48 61 6e | 64 73 68 61 6b 65 20 77 |".^6 Han|dshake w|
|000002a0| 69 72 65 73 3a 20 20 20 | 3d 20 42 6f 6f 6c 28 22 |ires: |= Bool("|
|000002b0| 42 6f 74 68 22 3d 22 26 | 44 30 5c 4b 30 22 2c 22 |Both"="&|D0\K0","|
|000002c0| 43 54 53 20 6f 6e 6c 79 | 22 3d 22 26 44 32 5c 4b |CTS only|"="&D2\K|
|000002d0| 35 22 29 20 22 26 44 32 | 5c 4b 35 22 0d 21 20 2d |5") "&D2|\K5".! -|
|000002e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000002f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 21 20 52 65 73 65 |--------|-.! Rese|
|00000310| 74 74 69 6e 67 20 74 68 | 65 20 6d 6f 64 65 6d 3a |tting th|e modem:|
|00000320| 0d 21 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.! -----|--------|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000340| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 40 48 |--------|-----.@H|
|00000350| 41 4e 47 55 50 0d 20 20 | 53 65 72 52 65 73 65 74 |ANGUP. |SerReset|
|00000360| 20 31 39 32 30 30 2c 30 | 2c 38 2c 31 0d 20 20 48 | 19200,0|,8,1. H|
|00000370| 73 52 65 73 65 74 20 30 | 2c 30 2c 31 37 2c 31 39 |sReset 0|,0,17,19|
|00000380| 2c 30 2c 30 0d 20 20 46 | 6c 75 73 68 0d 20 20 53 |,0,0. F|lush. S|
|00000390| 65 74 54 72 69 65 73 20 | 32 0d 20 20 77 72 69 74 |etTries |2. writ|
|000003a0| 65 20 22 41 54 48 30 53 | 30 3d 30 5c 72 22 0d 20 |e "ATH0S|0=0\r". |
|000003b0| 20 46 6c 75 73 68 0d 20 | 0d 21 0d 21 20 54 72 79 | Flush. |.!.! Try|
|000003c0| 20 74 6f 20 63 61 74 63 | 68 20 74 68 65 20 22 4f | to catc|h the "O|
|000003d0| 4b 22 20 61 6e 73 77 65 | 72 2c 20 75 73 65 20 74 |K" answe|r, use t|
|000003e0| 68 65 20 45 73 63 61 70 | 65 20 73 65 71 20 61 6e |he Escap|e seq an|
|000003f0| 64 20 44 54 52 20 74 72 | 61 6e 73 69 74 69 6f 6e |d DTR tr|ansition|
|00000400| 73 0d 21 20 74 6f 20 65 | 6e 74 65 72 20 74 68 65 |s.! to e|nter the|
|00000410| 20 63 6f 6d 6d 61 6e 64 | 20 6d 6f 64 65 0d 21 0d | command| mode.!.|
|00000420| 40 4c 61 62 65 6c 20 31 | 0d 20 20 77 72 69 74 65 |@Label 1|. write|
|00000430| 20 22 41 54 2b 56 43 3d | 30 5c 72 22 0d 20 20 66 | "AT+VC=|0\r". f|
|00000440| 6c 75 73 68 0d 20 20 77 | 72 69 74 65 20 22 41 54 |lush. w|rite "AT|
|00000450| 26 46 31 5c 72 22 0d 20 | 20 6d 61 74 63 68 63 6c |&F1\r". | matchcl|
|00000460| 72 0d 20 20 6d 61 74 63 | 68 73 74 72 20 31 20 32 |r. matc|hstr 1 2|
|00000470| 20 22 4f 4b 5c 72 5c 6e | 22 0d 20 20 6d 61 74 63 | "OK\r\n|". matc|
|00000480| 68 72 65 61 64 20 32 30 | 0d 21 20 20 63 68 72 64 |hread 20|.! chrd|
|00000490| 65 6c 61 79 20 31 0d 20 | 20 57 72 69 74 65 20 22 |elay 1. | Write "|
|000004a0| 2b 2b 2b 22 0d 21 20 20 | 63 68 72 64 65 6c 61 79 |+++".! |chrdelay|
|000004b0| 20 30 0d 20 20 44 74 72 | 43 6c 65 61 72 0d 20 20 | 0. Dtr|Clear. |
|000004c0| 4c 42 72 65 61 6b 0d 20 | 20 44 74 72 53 65 74 0d |LBreak. | DtrSet.|
|000004d0| 20 0d 20 20 77 72 69 74 | 65 20 22 41 54 2b 56 43 | . writ|e "AT+VC|
|000004e0| 3d 30 5c 72 22 0d 20 20 | 6d 61 74 63 68 63 6c 72 |=0\r". |matchclr|
|000004f0| 0d 20 20 6d 61 74 63 68 | 73 74 72 20 31 20 31 20 |. match|str 1 1 |
|00000500| 22 4f 4b 5c 72 5c 6e 22 | 0d 20 20 6d 61 74 63 68 |"OK\r\n"|. match|
|00000510| 72 65 61 64 20 31 30 0d | 21 0d 20 20 77 72 69 74 |read 10.|!. writ|
|00000520| 65 20 22 41 54 45 30 56 | 31 5c 72 22 0d 20 20 6d |e "ATE0V|1\r". m|
|00000530| 61 74 63 68 73 74 72 20 | 31 20 31 20 22 4f 4b 5c |atchstr |1 1 "OK\|
|00000540| 72 5c 6e 22 0d 20 20 6d | 61 74 63 68 72 65 61 64 |r\n". m|atchread|
|00000550| 20 31 30 0d 20 0d 20 20 | 77 72 69 74 65 20 22 41 | 10. . |write "A|
|00000560| 54 48 30 5c 72 22 0d 20 | 20 6d 61 74 63 68 73 74 |TH0\r". | matchst|
|00000570| 72 20 31 20 31 20 22 4f | 4b 5c 72 5c 6e 22 0d 20 |r 1 1 "O|K\r\n". |
|00000580| 20 6d 61 74 63 68 72 65 | 61 64 20 31 30 0d 20 20 | matchre|ad 10. |
|00000590| 44 65 63 54 72 69 65 73 | 0d 20 20 49 66 54 72 69 |DecTries|. IfTri|
|000005a0| 65 73 20 30 20 31 0d 20 | 20 65 78 69 74 20 2d 36 |es 0 1. | exit -6|
|000005b0| 30 31 39 0d 20 0d 40 4c | 61 62 65 6c 20 32 0d 20 |019. .@L|abel 2. |
|000005c0| 20 53 65 72 52 65 73 65 | 74 20 31 39 32 30 30 2c | SerRese|t 19200,|
|000005d0| 30 2c 38 2c 31 0d 20 20 | 4a 73 72 20 38 30 0d 20 |0,8,1. |Jsr 80. |
|000005e0| 20 57 72 69 74 65 20 22 | 41 54 2b 46 43 4c 41 53 | Write "|AT+FCLAS|
|000005f0| 53 3d 30 5c 72 22 0d 20 | 20 4a 73 72 20 31 30 30 |S=0\r". | Jsr 100|
|00000600| 0d 20 20 57 72 69 74 65 | 20 22 41 54 2b 46 41 45 |. Write| "AT+FAE|
|00000610| 3d 30 5c 72 22 0d 20 20 | 4a 73 72 20 31 30 30 0d |=0\r". |Jsr 100.|
|00000620| 20 20 65 78 69 74 20 30 | 0d 20 0d 20 0d 21 20 2d | exit 0|. . .! -|
|00000630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 21 20 20 20 20 52 |--------|-.! R|
|00000660| 65 63 65 69 76 69 6e 67 | 20 69 6e 63 6f 6d 69 6e |eceiving| incomin|
|00000670| 67 20 63 61 6c 6c 73 0d | 21 20 2d 2d 2d 2d 2d 2d |g calls.|! ------|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 0d 40 41 4e | 53 57 45 52 0d 21 0d 21 |----.@AN|SWER.!.!|
|000006b0| 20 53 65 74 20 74 68 65 | 20 6d 6f 64 65 6d 20 70 | Set the| modem p|
|000006c0| 72 65 66 65 72 72 65 64 | 20 73 70 65 65 64 20 66 |referred| speed f|
|000006d0| 69 72 73 74 0d 21 0d 20 | 20 20 53 65 72 52 65 73 |irst.!. | SerRes|
|000006e0| 65 74 20 31 39 32 30 30 | 2c 30 2c 38 2c 31 0d 20 |et 19200|,0,8,1. |
|000006f0| 20 4a 73 72 20 38 30 0d | 20 20 4a 73 72 20 37 30 | Jsr 80.| Jsr 70|
|00000700| 0d 20 0d 40 4c 61 62 65 | 6c 20 33 0d 20 20 69 66 |. .@Labe|l 3. if|
|00000710| 4f 70 65 6e 20 22 56 6f | 69 63 65 22 20 34 0d 20 |Open "Vo|ice" 4. |
|00000720| 20 4a 75 6d 70 20 34 37 | 0d 20 0d 21 20 63 68 65 | Jump 47|. .! che|
|00000730| 63 6b 20 74 6f 20 73 65 | 65 20 69 66 20 74 68 65 |ck to se|e if the|
|00000740| 20 76 6f 69 63 65 20 63 | 6f 64 65 20 68 61 73 20 | voice c|ode has |
|00000750| 62 65 65 6e 20 64 6f 77 | 6e 6c 6f 61 64 65 64 0d |been dow|nloaded.|
|00000760| 21 20 69 66 20 6e 6f 74 | 2c 20 74 65 6c 6c 20 50 |! if not|, tell P|
|00000770| 68 6f 6e 65 50 72 6f 20 | 74 6f 20 64 6f 77 6e 6c |honePro |to downl|
|00000780| 6f 61 64 20 69 74 2e 0d | 21 0d 40 4c 61 62 65 6c |oad it..|!.@Label|
|00000790| 20 34 0d 20 20 4e 6f 74 | 65 20 22 43 68 65 63 6b | 4. Not|e "Check|
|000007a0| 69 6e 67 20 74 68 65 20 | 6d 6f 64 65 6d 2e 2e 2e |ing the |modem...|
|000007b0| 22 0d 20 20 57 72 69 74 | 65 20 22 41 54 2b 56 43 |". Writ|e "AT+VC|
|000007c0| 3d 30 5c 72 22 0d 20 20 | 4d 61 74 63 68 43 6c 72 |=0\r". |MatchClr|
|000007d0| 0d 20 20 4d 61 74 63 68 | 53 74 72 20 31 20 35 20 |. Match|Str 1 5 |
|000007e0| 22 4f 4b 5c 72 5c 6e 22 | 0d 20 20 4d 61 74 63 68 |"OK\r\n"|. Match|
|000007f0| 53 74 72 20 32 20 35 20 | 22 45 52 52 4f 52 5c 72 |Str 2 5 |"ERROR\r|
|00000800| 5c 6e 22 0d 20 20 4d 61 | 74 63 68 52 65 61 64 20 |\n". Ma|tchRead |
|00000810| 31 30 0d 20 20 45 78 69 | 74 20 2d 36 30 31 39 0d |10. Exi|t -6019.|
|00000820| 20 0d 40 4c 61 62 65 6c | 20 35 0d 20 20 57 72 69 | .@Label| 5. Wri|
|00000830| 74 65 20 22 41 54 2b 56 | 43 3d 31 5c 72 22 0d 20 |te "AT+V|C=1\r". |
|00000840| 20 4d 61 74 63 68 43 6c | 72 0d 20 20 4d 61 74 63 | MatchCl|r. Matc|
|00000850| 68 53 74 72 20 31 20 37 | 20 22 4f 4b 5c 72 5c 6e |hStr 1 7| "OK\r\n|
|00000860| 22 0d 20 20 4d 61 74 63 | 68 53 74 72 20 32 20 36 |". Matc|hStr 2 6|
|00000870| 20 22 45 52 52 4f 52 5c | 72 5c 6e 22 0d 20 20 4d | "ERROR\|r\n". M|
|00000880| 61 74 63 68 52 65 61 64 | 20 32 30 0d 20 20 45 78 |atchRead| 20. Ex|
|00000890| 69 74 20 2d 36 30 31 39 | 0d 21 0d 21 20 20 74 65 |it -6019|.!.! te|
|000008a0| 6c 6c 20 74 68 65 20 56 | 6f 69 63 65 20 54 6f 6f |ll the V|oice Too|
|000008b0| 6c 20 74 6f 20 64 6f 77 | 6e 6c 6f 61 64 20 74 68 |l to dow|nload th|
|000008c0| 65 20 76 6f 69 63 65 20 | 63 6f 64 65 0d 21 0d 40 |e voice |code.!.@|
|000008d0| 4c 61 62 65 6c 20 36 0d | 20 20 4e 6f 74 65 20 22 |Label 6.| Note "|
|000008e0| 44 6f 77 6e 6c 6f 61 64 | 69 6e 67 20 76 6f 69 63 |Download|ing voic|
|000008f0| 65 20 63 6f 64 65 20 74 | 6f 20 6d 6f 64 65 6d 2e |e code t|o modem.|
|00000900| 2e 2e 22 0d 20 20 50 61 | 75 73 65 20 32 30 0d 20 |..". Pa|use 20. |
|00000910| 20 51 75 65 75 65 49 6e | 70 75 74 20 22 5c 72 5c | QueueIn|put "\r\|
|00000920| 6e 4c 4f 41 44 5c 72 5c | 6e 22 0d 20 20 41 74 74 |nLOAD\r\|n". Att|
|00000930| 61 63 68 20 22 56 6f 69 | 63 65 22 20 28 4d 61 73 |ach "Voi|ce" (Mas|
|00000940| 74 65 72 29 0d 20 0d 40 | 4c 61 62 65 6c 20 37 0d |ter). .@|Label 7.|
|00000950| 20 20 57 72 69 74 65 20 | 22 41 54 2b 56 43 3d 30 | Write |"AT+VC=0|
|00000960| 5c 72 22 0d 20 20 4a 73 | 72 20 31 30 30 0d 20 0d |\r". Js|r 100. .|
|00000970| 21 0d 21 20 73 69 74 20 | 61 6e 64 20 77 61 69 74 |!.! sit |and wait|
|00000980| 20 66 6f 72 20 61 20 63 | 61 6c 6c 20 66 6f 72 20 | for a c|all for |
|00000990| 75 70 20 74 6f 20 33 30 | 20 73 65 63 6f 6e 64 73 |up to 30| seconds|
|000009a0| 2c 20 74 68 65 6e 20 72 | 65 2d 69 6e 69 74 69 61 |, then r|e-initia|
|000009b0| 74 65 20 74 68 65 20 6d | 6f 64 65 6d 0d 21 0d 21 |te the m|odem.!.!|
|000009c0| 40 4c 61 62 65 6c 20 38 | 0d 21 0d 21 20 47 65 74 |@Label 8|.!.! Get|
|000009d0| 20 63 61 6c 6c 65 72 20 | 49 44 2c 20 69 66 20 76 | caller |ID, if v|
|000009e0| 6f 69 63 65 20 65 6e 61 | 62 6c 65 64 0d 20 20 51 |oice ena|bled. Q|
|000009f0| 75 65 75 65 49 6e 70 75 | 74 20 22 5c 72 5c 6e 47 |ueueInpu|t "\r\nG|
|00000a00| 45 54 5f 43 41 4c 4c 45 | 52 5f 49 44 5f 46 4c 41 |ET_CALLE|R_ID_FLA|
|00000a10| 47 5c 72 5c 6e 22 0d 20 | 20 41 74 74 61 63 68 20 |G\r\n". | Attach |
|00000a20| 22 56 6f 69 63 65 22 20 | 28 4d 61 73 74 65 72 29 |"Voice" |(Master)|
|00000a30| 0d 20 20 53 65 74 56 61 | 72 20 42 20 22 5e 24 22 |. SetVa|r B "^$"|
|00000a40| 0d 20 20 57 72 69 74 65 | 20 22 41 54 23 43 49 44 |. Write| "AT#CID|
|00000a50| 3d 5e 42 5c 72 22 0d 20 | 20 4a 73 72 20 31 30 30 |=^B\r". | Jsr 100|
|00000a60| 0d 20 0d 20 20 4e 6f 74 | 65 20 22 57 61 69 74 69 |. . Not|e "Waiti|
|00000a70| 6e 67 20 66 6f 72 20 61 | 20 56 6f 69 63 65 2f 46 |ng for a| Voice/F|
|00000a80| 61 78 2f 41 52 41 20 63 | 61 6c 6c 22 0d 20 20 4d |ax/ARA c|all". M|
|00000a90| 61 74 63 68 43 6c 72 0d | 20 20 4d 61 74 63 68 53 |atchClr.| MatchS|
|00000aa0| 74 72 20 31 20 31 35 20 | 22 52 49 4e 47 5c 72 5c |tr 1 15 |"RING\r\|
|00000ab0| 6e 22 0d 20 20 4d 61 74 | 63 68 52 65 61 64 20 31 |n". Mat|chRead 1|
|00000ac0| 38 30 30 0d 20 20 4a 75 | 6d 70 20 33 0d 20 0d 40 |800. Ju|mp 3. .@|
|00000ad0| 4c 61 62 65 6c 20 31 35 | 0d 20 20 4e 6f 74 65 20 |Label 15|. Note |
|00000ae0| 22 52 69 6e 67 2e 2e 2e | 22 0d 20 20 51 75 65 75 |"Ring...|". Queu|
|00000af0| 65 49 6e 70 75 74 20 22 | 5c 72 5c 6e 52 49 4e 47 |eInput "|\r\nRING|
|00000b00| 5c 72 5c 6e 22 0d 20 20 | 41 74 74 61 63 68 20 22 |\r\n". |Attach "|
|00000b10| 56 6f 69 63 65 22 20 28 | 4d 61 73 74 65 72 29 0d |Voice" (|Master).|
|00000b20| 20 20 57 72 69 74 65 20 | 22 2b 2b 2b 22 0d 20 20 | Write |"+++". |
|00000b30| 4e 6f 74 65 20 22 53 77 | 69 74 63 68 69 6e 67 20 |Note "Sw|itching |
|00000b40| 66 72 6f 6d 20 76 6f 69 | 63 65 2e 2e 2e 22 0d 20 |from voi|ce...". |
|00000b50| 0d 21 20 66 61 6c 6c 20 | 74 68 72 6f 75 67 68 20 |.! fall |through |
|00000b60| 69 66 20 74 68 65 20 63 | 61 6c 6c 20 69 73 20 6e |if the c|all is n|
|00000b70| 6f 74 20 61 20 76 6f 69 | 63 65 20 63 61 6c 6c 20 |ot a voi|ce call |
|00000b80| 28 61 73 20 69 6e 64 69 | 63 61 74 65 64 20 62 79 |(as indi|cated by|
|00000b90| 20 74 68 65 20 74 65 6c | 65 70 68 6f 6e 65 20 74 | the tel|ephone t|
|00000ba0| 6f 6f 6c 29 0d 21 0d 20 | 20 53 65 74 56 61 72 20 |ool).!. | SetVar |
|00000bb0| 41 20 22 5e 24 22 0d 20 | 20 53 65 72 52 65 73 65 |A "^$". | SerRese|
|00000bc0| 74 20 31 39 32 30 30 2c | 30 2c 38 2c 31 0d 21 20 |t 19200,|0,8,1.! |
|00000bd0| 20 4a 73 72 20 38 30 0d | 20 20 48 73 52 65 73 65 | Jsr 80.| HsRese|
|00000be0| 74 20 30 2c 30 2c 31 37 | 2c 31 39 2c 30 2c 30 0d |t 0,0,17|,19,0,0.|
|00000bf0| 21 20 20 57 72 69 74 65 | 20 22 5c 72 5c 72 5c 72 |! Write| "\r\r\r|
|00000c00| 22 0d 21 20 20 50 61 75 | 73 65 20 31 30 0d 20 20 |".! Pau|se 10. |
|00000c10| 4a 73 72 20 38 30 0d 20 | 0d 21 20 20 57 72 69 74 |Jsr 80. |.! Writ|
|00000c20| 65 20 22 41 54 56 31 45 | 30 5c 72 22 0d 21 20 20 |e "ATV1E|0\r".! |
|00000c30| 4a 73 72 20 31 30 30 0d | 20 0d 21 20 20 50 61 75 |Jsr 100.| .! Pau|
|00000c40| 73 65 20 32 0d 21 20 20 | 57 72 69 74 65 20 22 41 |se 2.! |Write "A|
|00000c50| 54 26 46 5c 72 22 0d 21 | 20 20 4a 73 72 20 31 30 |T&F\r".!| Jsr 10|
|00000c60| 30 0d 20 0d 21 20 20 4a | 73 72 20 37 30 0d 20 0d |0. .! J|sr 70. .|
|00000c70| 20 20 49 66 53 74 72 20 | 41 20 31 37 20 22 46 61 | IfStr |A 17 "Fa|
|00000c80| 78 22 0d 20 20 49 66 53 | 74 72 20 41 20 31 38 20 |x". IfS|tr A 18 |
|00000c90| 22 41 52 41 22 0d 20 20 | 45 78 69 74 20 2d 36 30 |"ARA". |Exit -60|
|00000ca0| 31 39 0d 20 0d 21 0d 21 | 20 46 6f 72 63 65 20 74 |19. .!.!| Force t|
|00000cb0| 6f 20 61 6e 73 77 65 72 | 20 61 20 46 61 78 20 63 |o answer| a Fax c|
|00000cc0| 61 6c 6c 0d 21 0d 40 4c | 61 62 65 6c 20 31 37 0d |all.!.@L|abel 17.|
|00000cd0| 20 20 4e 6f 74 65 20 22 | 53 77 69 74 63 68 69 6e | Note "|Switchin|
|00000ce0| 67 20 74 6f 20 46 61 78 | 2e 2e 2e 22 0d 20 20 57 |g to Fax|...". W|
|00000cf0| 72 69 74 65 20 22 41 54 | 2b 46 43 4c 41 53 53 3d |rite "AT|+FCLASS=|
|00000d00| 31 3b 2b 46 41 45 3d 30 | 5c 72 22 0d 20 20 4a 73 |1;+FAE=0|\r". Js|
|00000d10| 72 20 31 30 30 0d 20 20 | 57 72 69 74 65 20 22 41 |r 100. |Write "A|
|00000d20| 54 26 4b 34 45 30 56 30 | 41 5c 72 22 0d 20 20 4d |T&K4E0V0|A\r". M|
|00000d30| 61 74 63 68 43 6c 72 0d | 20 20 4d 61 74 63 68 53 |atchClr.| MatchS|
|00000d40| 74 72 20 31 20 33 30 20 | 22 31 5c 72 22 0d 20 20 |tr 1 30 |"1\r". |
|00000d50| 4d 61 74 63 68 53 74 72 | 20 32 20 39 33 20 22 33 |MatchStr| 2 93 "3|
|00000d60| 5c 72 22 0d 20 20 4d 61 | 74 63 68 53 74 72 20 33 |\r". Ma|tchStr 3|
|00000d70| 20 39 34 20 22 38 5c 72 | 22 0d 20 20 4d 61 74 63 | 94 "8\r|". Matc|
|00000d80| 68 52 65 61 64 20 33 30 | 30 0d 20 20 57 72 69 74 |hRead 30|0. Writ|
|00000d90| 65 20 22 5c 72 22 0d 20 | 20 45 78 69 74 20 2d 36 |e "\r". | Exit -6|
|00000da0| 30 31 39 0d 20 0d 21 0d | 21 20 46 6f 72 63 65 20 |019. .!.|! Force |
|00000db0| 74 6f 20 61 6e 73 77 65 | 72 20 61 6e 20 41 52 41 |to answe|r an ARA|
|00000dc0| 20 63 61 6c 6c 0d 21 0d | 40 4c 61 62 65 6c 20 31 | call.!.|@Label 1|
|00000dd0| 38 0d 20 20 4e 6f 74 65 | 20 22 53 77 69 74 63 68 |8. Note| "Switch|
|00000de0| 69 6e 67 20 74 6f 20 41 | 52 41 2e 2e 2e 22 0d 20 |ing to A|RA...". |
|00000df0| 20 4a 73 72 20 37 30 0d | 21 20 53 65 74 20 74 68 | Jsr 70.|! Set th|
|00000e00| 65 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 20 |e commun|ication |
|00000e10| 6f 70 74 69 6f 6e 73 3a | 0d 20 20 4a 73 72 20 35 |options:|. Jsr 5|
|00000e20| 35 0d 20 0d 20 20 57 72 | 69 74 65 20 22 41 54 2b |5. . Wr|ite "AT+|
|00000e30| 46 41 45 3d 30 3b 2b 46 | 43 4c 41 53 53 3d 30 5c |FAE=0;+F|CLASS=0\|
|00000e40| 72 22 0d 20 20 4a 73 72 | 20 31 30 30 0d 20 20 57 |r". Jsr| 100. W|
|00000e50| 72 69 74 65 20 22 41 54 | 41 5c 72 22 0d 20 20 4d |rite "AT|A\r". M|
|00000e60| 61 74 63 68 43 6c 72 0d | 20 20 4d 61 74 63 68 53 |atchClr.| MatchS|
|00000e70| 74 72 20 31 20 32 30 20 | 22 5c 72 5c 6e 43 41 52 |tr 1 20 |"\r\nCAR|
|00000e80| 52 49 45 52 20 22 0d 20 | 20 4d 61 74 63 68 53 74 |RIER ". | MatchSt|
|00000e90| 72 20 34 20 39 33 20 22 | 4e 4f 20 43 41 52 52 49 |r 4 93 "|NO CARRI|
|00000ea0| 45 52 5c 72 5c 6e 22 0d | 20 20 4d 61 74 63 68 53 |ER\r\n".| MatchS|
|00000eb0| 74 72 20 35 20 39 34 20 | 22 4e 4f 20 41 4e 53 57 |tr 5 94 |"NO ANSW|
|00000ec0| 45 52 5c 72 5c 6e 22 0d | 20 20 4d 61 74 63 68 52 |ER\r\n".| MatchR|
|00000ed0| 65 61 64 20 33 30 30 0d | 20 20 57 72 69 74 65 20 |ead 300.| Write |
|00000ee0| 22 5c 72 22 0d 20 20 45 | 78 69 74 20 2d 36 30 31 |"\r". E|xit -601|
|00000ef0| 39 0d 20 0d 40 4c 61 62 | 65 6c 20 32 30 0d 20 20 |9. .@Lab|el 20. |
|00000f00| 51 75 65 75 65 49 6e 70 | 75 74 20 22 5c 72 5c 6e |QueueInp|ut "\r\n|
|00000f10| 43 41 52 52 49 45 52 20 | 22 0d 20 20 69 66 4f 72 |CARRIER |". ifOr|
|00000f20| 69 67 69 6e 61 74 65 20 | 32 31 0d 20 20 51 75 65 |iginate |21. Que|
|00000f30| 75 65 49 6e 70 75 74 20 | 22 5c 72 5c 6e 52 49 4e |ueInput |"\r\nRIN|
|00000f40| 47 5c 72 5c 6e 22 0d 40 | 4c 61 62 65 6c 20 32 31 |G\r\n".@|Label 21|
|00000f50| 0d 20 20 41 74 74 61 63 | 68 20 22 41 52 41 22 20 |. Attac|h "ARA" |
|00000f60| 28 44 54 52 2c 45 73 63 | 61 70 65 2c 54 69 6d 65 |(DTR,Esc|ape,Time|
|00000f70| 4c 69 6d 69 74 3d 30 29 | 0d 20 0d 21 0d 21 20 46 |Limit=0)|. .!.! F|
|00000f80| 61 78 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 68 61 |ax conne|ction ha|
|00000f90| 73 20 62 65 65 6e 20 65 | 73 74 61 62 6c 69 73 68 |s been e|stablish|
|00000fa0| 65 64 20 28 77 65 20 72 | 65 61 64 20 22 31 5c 72 |ed (we r|ead "1\r|
|00000fb0| 22 29 0d 21 20 41 74 74 | 61 63 68 20 74 68 65 20 |").! Att|ach the |
|00000fc0| 22 46 61 78 22 20 73 75 | 62 50 6f 72 74 0d 21 0d |"Fax" su|bPort.!.|
|00000fd0| 40 4c 61 62 65 6c 20 33 | 30 0d 20 0d 20 20 51 75 |@Label 3|0. . Qu|
|00000fe0| 65 75 65 49 6e 70 75 74 | 20 22 31 5c 72 22 0d 20 |eueInput| "1\r". |
|00000ff0| 20 69 66 4f 72 69 67 69 | 6e 61 74 65 20 33 32 0d | ifOrigi|nate 32.|
|00001000| 40 4c 61 62 65 6c 20 33 | 31 0d 20 20 51 75 65 75 |@Label 3|1. Queu|
|00001010| 65 49 6e 70 75 74 20 22 | 32 5c 72 22 0d 40 4c 61 |eInput "|2\r".@La|
|00001020| 62 65 6c 20 33 32 0d 20 | 20 41 74 74 61 63 68 20 |bel 32. | Attach |
|00001030| 22 46 61 78 22 20 28 44 | 54 52 2c 52 65 73 65 74 |"Fax" (D|TR,Reset|
|00001040| 29 0d 20 0d 21 0d 21 20 | 43 6f 6e 76 65 72 74 69 |). .!.! |Converti|
|00001050| 6e 67 20 6e 75 6d 65 72 | 69 63 20 72 65 73 70 6f |ng numer|ic respo|
|00001060| 6e 73 65 73 20 69 6e 74 | 6f 20 76 65 72 62 61 6c |nses int|o verbal|
|00001070| 0d 21 0d 40 4c 61 62 65 | 6c 20 34 30 0d 20 20 51 |.!.@Labe|l 40. Q|
|00001080| 75 65 75 65 49 6e 70 75 | 74 20 22 32 34 30 30 5c |ueueInpu|t "2400\|
|00001090| 72 5c 6e 22 0d 20 20 4a | 75 6d 70 20 32 30 0d 40 |r\n". J|ump 20.@|
|000010a0| 4c 61 62 65 6c 20 34 31 | 0d 20 20 51 75 65 75 65 |Label 41|. Queue|
|000010b0| 49 6e 70 75 74 20 22 34 | 38 30 30 5c 72 5c 6e 22 |Input "4|800\r\n"|
|000010c0| 0d 20 20 4a 75 6d 70 20 | 32 30 0d 40 4c 61 62 65 |. Jump |20.@Labe|
|000010d0| 6c 20 34 32 0d 20 20 51 | 75 65 75 65 49 6e 70 75 |l 42. Q|ueueInpu|
|000010e0| 74 20 22 37 32 30 30 5c | 72 5c 6e 22 0d 20 20 4a |t "7200\|r\n". J|
|000010f0| 75 6d 70 20 32 30 0d 40 | 4c 61 62 65 6c 20 34 33 |ump 20.@|Label 43|
|00001100| 0d 20 20 51 75 65 75 65 | 49 6e 70 75 74 20 22 39 |. Queue|Input "9|
|00001110| 36 30 30 5c 72 5c 6e 22 | 0d 20 20 4a 75 6d 70 20 |600\r\n"|. Jump |
|00001120| 32 30 0d 40 4c 61 62 65 | 6c 20 34 34 0d 20 20 51 |20.@Labe|l 44. Q|
|00001130| 75 65 75 65 49 6e 70 75 | 74 20 22 31 32 30 30 30 |ueueInpu|t "12000|
|00001140| 5c 72 5c 6e 22 0d 20 20 | 4a 75 6d 70 20 32 30 0d |\r\n". |Jump 20.|
|00001150| 40 4c 61 62 65 6c 20 34 | 35 0d 20 20 51 75 65 75 |@Label 4|5. Queu|
|00001160| 65 49 6e 70 75 74 20 22 | 31 34 34 30 30 5c 72 5c |eInput "|14400\r\|
|00001170| 6e 22 0d 20 20 4a 75 6d | 70 20 32 30 0d 20 0d 21 |n". Jum|p 20. .!|
|00001180| 0d 21 20 57 61 69 74 69 | 6e 67 20 66 6f 72 20 46 |.! Waiti|ng for F|
|00001190| 61 78 2f 41 52 41 20 63 | 61 6c 6c 73 20 6f 6e 6c |ax/ARA c|alls onl|
|000011a0| 79 20 28 6e 6f 20 56 6f | 69 63 65 20 41 70 70 20 |y (no Vo|ice App |
|000011b0| 72 75 6e 6e 69 6e 67 29 | 0d 21 0d 40 4c 61 62 65 |running)|.!.@Labe|
|000011c0| 6c 20 34 37 0d 20 20 4e | 6f 74 65 20 22 56 6f 69 |l 47. N|ote "Voi|
|000011d0| 63 65 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |ce Appli|cation i|
|000011e0| 73 20 6e 6f 74 20 72 75 | 6e 6e 69 6e 67 2e 2e 2e |s not ru|nning...|
|000011f0| 22 0d 20 20 4a 73 72 20 | 35 35 0d 20 0d 21 20 20 |". Jsr |55. .! |
|00001200| 4e 6f 20 56 6f 69 63 65 | 20 41 70 70 20 72 75 6e |No Voice| App run|
|00001210| 6e 69 6e 67 20 2d 2d 20 | 74 75 72 6e 20 6f 66 66 |ning -- |turn off|
|00001220| 20 63 61 6c 6c 65 72 20 | 49 44 0d 20 20 57 72 69 | caller |ID. Wri|
|00001230| 74 65 20 22 41 54 23 43 | 49 44 3d 30 5c 72 22 0d |te "AT#C|ID=0\r".|
|00001240| 20 20 4a 73 72 20 31 30 | 30 0d 20 0d 21 20 20 54 | Jsr 10|0. .! T|
|00001250| 68 69 73 20 77 6f 75 6c | 64 20 61 6c 6c 6f 77 20 |his woul|d allow |
|00001260| 75 73 20 74 6f 20 6e 6f | 74 20 67 6f 20 69 6e 74 |us to no|t go int|
|00001270| 6f 20 41 41 20 6d 6f 64 | 65 20 69 66 20 77 65 20 |o AA mod|e if we |
|00001280| 63 6f 75 6c 64 20 68 61 | 76 65 20 6d 6f 72 65 20 |could ha|ve more |
|00001290| 6c 61 62 65 6c 73 2e 0d | 20 20 69 66 4f 70 65 6e |labels..| ifOpen|
|000012a0| 20 22 41 52 41 22 20 34 | 39 0d 20 20 69 66 4f 70 | "ARA" 4|9. ifOp|
|000012b0| 65 6e 20 22 46 61 78 22 | 20 34 39 0d 20 20 4a 75 |en "Fax"| 49. Ju|
|000012c0| 6d 70 20 31 36 30 0d 21 | 0d 21 0d 21 20 53 65 74 |mp 160.!|.!.! Set|
|000012d0| 20 46 61 78 20 6d 6f 64 | 65 0d 21 0d 40 4c 61 62 | Fax mod|e.!.@Lab|
|000012e0| 65 6c 20 34 39 0d 20 20 | 57 72 69 74 65 20 22 41 |el 49. |Write "A|
|000012f0| 54 5c 5c 4e 30 26 51 36 | 26 4b 33 57 31 5c 72 22 |T\\N0&Q6|&K3W1\r"|
|00001300| 0d 20 20 4a 73 72 20 31 | 30 30 0d 20 20 57 72 69 |. Jsr 1|00. Wri|
|00001310| 74 65 20 22 41 54 2b 46 | 43 4c 41 53 53 3d 31 5c |te "AT+F|CLASS=1\|
|00001320| 72 22 0d 20 20 4a 73 72 | 20 31 30 30 0d 20 20 57 |r". Jsr| 100. W|
|00001330| 72 69 74 65 20 22 41 54 | 2b 46 41 45 3d 31 5c 72 |rite "AT|+FAE=1\r|
|00001340| 22 0d 20 20 4a 73 72 20 | 31 30 30 0d 20 20 57 72 |". Jsr |100. Wr|
|00001350| 69 74 65 20 22 41 54 2b | 46 43 4c 41 53 53 3d 30 |ite "AT+|FCLASS=0|
|00001360| 5c 72 22 0d 20 20 4a 73 | 72 20 31 30 30 0d 21 0d |\r". Js|r 100.!.|
|00001370| 21 20 54 65 6c 6c 20 74 | 68 65 20 6d 6f 64 65 6d |! Tell t|he modem|
|00001380| 20 74 6f 20 64 65 74 65 | 72 6d 69 6e 65 20 74 68 | to dete|rmine th|
|00001390| 65 20 74 79 70 65 20 6f | 66 20 74 68 65 20 69 6e |e type o|f the in|
|000013a0| 63 6f 6d 69 6e 67 20 63 | 61 6c 6c 0d 21 20 46 65 |coming c|all.! Fe|
|000013b0| 74 63 68 20 74 68 65 20 | 74 75 62 65 20 61 66 74 |tch the |tube aft|
|000013c0| 65 72 20 5e 34 20 72 69 | 6e 67 73 0d 21 0d 20 57 |er ^4 ri|ngs.!. W|
|000013d0| 72 69 74 65 20 22 41 54 | 53 30 3d 5e 34 56 30 5c |rite "AT|S0=^4V0\|
|000013e0| 72 22 0d 20 20 4a 73 72 | 20 31 31 30 0d 21 0d 21 |r". Jsr| 110.!.!|
|000013f0| 20 45 76 65 72 79 74 68 | 69 6e 67 20 69 73 20 72 | Everyth|ing is r|
|00001400| 65 61 64 79 20 2d 20 6c | 65 74 27 73 20 73 69 74 |eady - l|et's sit|
|00001410| 20 61 6e 64 20 77 61 69 | 74 20 66 6f 72 20 61 20 | and wai|t for a |
|00001420| 63 61 6c 6c 0d 21 20 57 | 65 27 6c 6c 20 77 61 69 |call.! W|e'll wai|
|00001430| 74 20 66 6f 72 20 33 30 | 20 73 65 63 6f 6e 64 73 |t for 30| seconds|
|00001440| 2c 20 74 68 65 6e 20 72 | 65 69 6e 69 74 69 61 74 |, then r|einitiat|
|00001450| 65 20 74 68 65 20 6d 6f | 64 65 6d 0d 21 0d 20 20 |e the mo|dem.!. |
|00001460| 4e 6f 74 65 20 22 57 61 | 69 74 69 6e 67 20 66 6f |Note "Wa|iting fo|
|00001470| 72 20 61 20 66 61 78 20 | 6f 72 20 41 52 41 20 63 |r a fax |or ARA c|
|00001480| 61 6c 6c 2e 2e 2e 22 0d | 20 20 4d 61 74 63 68 43 |all...".| MatchC|
|00001490| 6c 72 0d 20 20 6d 61 74 | 63 68 73 74 72 20 30 32 |lr. mat|chstr 02|
|000014a0| 20 34 30 20 22 34 37 5c | 72 22 0d 20 20 4d 61 74 | 40 "47\|r". Mat|
|000014b0| 63 68 53 74 72 20 30 33 | 20 34 31 20 22 34 38 5c |chStr 03| 41 "48\|
|000014c0| 72 22 0d 20 20 4d 61 74 | 63 68 53 74 72 20 30 34 |r". Mat|chStr 04|
|000014d0| 20 34 32 20 22 34 39 5c | 72 22 0d 20 20 4d 61 74 | 42 "49\|r". Mat|
|000014e0| 63 68 53 74 72 20 30 35 | 20 34 33 20 22 35 30 5c |chStr 05| 43 "50\|
|000014f0| 72 22 0d 20 20 4d 61 74 | 63 68 53 74 72 20 30 36 |r". Mat|chStr 06|
|00001500| 20 34 34 20 22 35 31 5c | 72 22 0d 20 20 4d 61 74 | 44 "51\|r". Mat|
|00001510| 63 68 53 74 72 20 30 37 | 20 34 35 20 22 35 32 5c |chStr 07| 45 "52\|
|00001520| 72 22 0d 20 20 4d 61 74 | 63 68 53 74 72 20 30 39 |r". Mat|chStr 09|
|00001530| 20 33 31 20 22 33 33 5c | 72 22 0d 20 20 6d 61 74 | 31 "33\|r". mat|
|00001540| 63 68 73 74 72 20 31 30 | 20 35 33 20 22 32 5c 72 |chstr 10| 53 "2\r|
|00001550| 22 0d 20 20 6d 61 74 63 | 68 73 74 72 20 31 32 20 |". matc|hstr 12 |
|00001560| 33 30 20 22 31 5c 72 22 | 0d 20 20 6d 61 74 63 68 |30 "1\r"|. match|
|00001570| 73 74 72 20 31 33 20 35 | 32 20 22 33 5c 72 22 0d |str 13 5|2 "3\r".|
|00001580| 20 20 6d 61 74 63 68 73 | 74 72 20 31 34 20 35 32 | matchs|tr 14 52|
|00001590| 20 22 38 5c 72 22 0d 20 | 20 6d 61 74 63 68 73 74 | "8\r". | matchst|
|000015a0| 72 20 31 35 20 35 32 20 | 22 37 5c 72 22 0d 40 4c |r 15 52 |"7\r".@L|
|000015b0| 61 62 65 6c 20 35 31 0d | 20 20 4d 61 74 63 68 72 |abel 51.| Matchr|
|000015c0| 65 61 64 20 36 30 30 0d | 40 4c 61 62 65 6c 20 35 |ead 600.|@Label 5|
|000015d0| 32 0d 20 20 57 72 69 74 | 65 20 22 41 54 56 31 5c |2. Writ|e "ATV1\|
|000015e0| 72 22 0d 20 20 4a 73 72 | 20 31 30 30 0d 20 20 4a |r". Jsr| 100. J|
|000015f0| 75 6d 70 20 33 0d 40 4c | 61 62 65 6c 20 35 33 0d |ump 3.@L|abel 53.|
|00001600| 20 20 4e 6f 74 65 20 22 | 52 69 6e 67 2e 2e 2e 22 | Note "|Ring..."|
|00001610| 0d 20 20 4a 75 6d 70 20 | 35 31 0d 20 0d 21 20 2d |. Jump |51. .! -|
|00001620| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 21 20 4f 72 69 67 |--------|-.! Orig|
|00001650| 69 6e 61 74 69 6e 67 20 | 61 20 63 61 6c 6c 20 74 |inating |a call t|
|00001660| 68 72 6f 75 67 68 20 74 | 68 65 20 22 56 6f 69 63 |hrough t|he "Voic|
|00001670| 65 22 20 73 75 62 70 6f | 72 74 0d 21 20 2d 2d 2d |e" subpo|rt.! ---|
|00001680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016a0| 2d 2d 2d 2d 2d 2d 2d 0d | 40 4f 52 49 47 49 4e 41 |-------.|@ORIGINA|
|000016b0| 54 45 20 22 56 6f 69 63 | 65 22 20 28 22 5c 72 5c |TE "Voic|e" ("\r\|
|000016c0| 6e 42 75 73 79 5c 72 5c | 6e 22 29 0d 20 20 4e 6f |nBusy\r\|n"). No|
|000016d0| 74 65 20 22 50 68 6f 6e | 65 50 72 6f 20 69 73 20 |te "Phon|ePro is |
|000016e0| 6f 72 69 67 69 6e 61 74 | 69 6e 67 20 61 20 63 61 |originat|ing a ca|
|000016f0| 6c 6c 20 2e 2e 2e 22 0d | 20 20 53 65 72 52 65 73 |ll ...".| SerRes|
|00001700| 65 74 20 2a 0d 20 20 48 | 73 52 65 73 65 74 20 2a |et *. H|sReset *|
|00001710| 0d 20 20 4a 73 72 20 38 | 30 0d 21 20 4a 73 72 20 |. Jsr 8|0.! Jsr |
|00001720| 36 30 0d 20 20 57 72 69 | 74 65 20 22 41 54 44 5e |60. Wri|te "ATD^|
|00001730| 31 5c 72 22 0d 20 20 41 | 74 74 61 63 68 20 22 56 |1\r". A|ttach "V|
|00001740| 6f 69 63 65 22 20 28 45 | 73 63 61 70 65 2c 49 64 |oice" (E|scape,Id|
|00001750| 6c 65 4c 69 6d 69 74 3d | 33 30 2c 52 65 73 65 74 |leLimit=|30,Reset|
|00001760| 2c 44 54 52 29 0d 20 20 | 45 78 69 74 20 2d 36 30 |,DTR). |Exit -60|
|00001770| 31 39 0d 20 0d 20 0d 20 | 0d 21 20 2d 2d 2d 2d 2d |19. . . |.! -----|
|00001780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017a0| 2d 2d 2d 2d 2d 0d 21 20 | 4f 72 69 67 69 6e 61 74 |-----.! |Originat|
|000017b0| 69 6e 67 20 61 20 63 61 | 6c 6c 20 74 68 72 6f 75 |ing a ca|ll throu|
|000017c0| 67 68 20 74 68 65 20 22 | 41 52 41 22 20 73 75 62 |gh the "|ARA" sub|
|000017d0| 70 6f 72 74 0d 21 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |port.! -|--------|
|000017e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001800| 2d 0d 40 4f 52 49 47 49 | 4e 41 54 45 20 22 41 52 |-.@ORIGI|NATE "AR|
|00001810| 41 22 20 28 22 5c 72 5c | 6e 42 75 73 79 5c 72 5c |A" ("\r\|nBusy\r\|
|00001820| 6e 22 29 0d 20 20 53 65 | 72 52 65 73 65 74 20 2a |n"). Se|rReset *|
|00001830| 0d 20 20 48 73 52 65 73 | 65 74 20 2a 0d 20 20 4a |. HsRes|et *. J|
|00001840| 73 72 20 38 30 0d 21 0d | 21 20 53 65 74 20 74 68 |sr 80.!.|! Set th|
|00001850| 65 20 63 6f 6d 6d 6f 6e | 20 6f 70 74 69 6f 6e 73 |e common| options|
|00001860| 0d 21 0d 20 20 4a 73 72 | 20 37 30 0d 20 20 4a 73 |.!. Jsr| 70. Js|
|00001870| 72 20 35 35 0d 21 0d 21 | 20 50 72 65 70 61 72 65 |r 55.!.!| Prepare|
|00001880| 20 74 6f 20 72 65 63 65 | 69 76 65 20 61 6c 6c 20 | to rece|ive all |
|00001890| 65 72 72 6f 72 20 72 65 | 73 75 6c 74 20 63 6f 64 |error re|sult cod|
|000018a0| 65 73 2c 20 64 69 61 6c | 20 74 68 65 20 6e 75 6d |es, dial| the num|
|000018b0| 62 65 72 0d 21 0d 20 20 | 4a 73 72 20 39 30 0d 20 |ber.!. |Jsr 90. |
|000018c0| 20 4d 61 74 63 68 53 74 | 72 20 31 20 32 30 20 22 | MatchSt|r 1 20 "|
|000018d0| 5c 72 5c 6e 43 41 52 52 | 49 45 52 20 22 0d 20 20 |\r\nCARR|IER ". |
|000018e0| 4d 61 74 63 68 52 65 61 | 64 20 31 30 30 30 0d 20 |MatchRea|d 1000. |
|000018f0| 20 57 72 69 74 65 20 22 | 5c 72 22 0d 20 20 45 78 | Write "|\r". Ex|
|00001900| 69 74 20 2d 36 30 31 39 | 0d 20 0d 21 20 2d 2d 2d |it -6019|. .! ---|
|00001910| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001930| 2d 2d 2d 2d 2d 2d 2d 0d | 21 20 4f 72 69 67 69 6e |-------.|! Origin|
|00001940| 61 74 69 6e 67 20 61 20 | 63 61 6c 6c 20 74 68 72 |ating a |call thr|
|00001950| 6f 75 67 68 20 74 68 65 | 20 22 46 61 78 22 20 73 |ough the| "Fax" s|
|00001960| 75 62 50 6f 72 74 0d 21 | 20 2d 2d 2d 2d 2d 2d 2d |ubPort.!| -------|
|00001970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001990| 2d 2d 2d 0d 40 4f 52 49 | 47 49 4e 41 54 45 20 22 |---.@ORI|GINATE "|
|000019a0| 46 61 78 22 20 28 22 5c | 72 5c 6e 42 55 53 59 5c |Fax" ("\|r\nBUSY\|
|000019b0| 72 5c 6e 22 29 0d 21 20 | 43 6c 65 61 72 20 74 68 |r\n").! |Clear th|
|000019c0| 65 20 6d 6f 64 65 6d 27 | 73 20 6d 61 67 69 63 20 |e modem'|s magic |
|000019d0| 6d 65 6d 6f 72 79 0d 20 | 20 4a 73 72 20 31 33 30 |memory. | Jsr 130|
|000019e0| 0d 21 0d 21 20 53 65 74 | 20 74 68 65 20 22 46 61 |.!.! Set| the "Fa|
|000019f0| 78 22 20 73 70 65 65 64 | 0d 21 0d 20 20 53 65 72 |x" speed|.!. Ser|
|00001a00| 52 65 73 65 74 20 2a 0d | 20 20 48 73 52 65 73 65 |Reset *.| HsRese|
|00001a10| 74 20 2a 0d 20 20 4a 73 | 72 20 38 30 0d 20 20 57 |t *. Js|r 80. W|
|00001a20| 72 69 74 65 20 22 41 54 | 5a 5c 72 22 0d 20 20 4a |rite "AT|Z\r". J|
|00001a30| 73 72 20 31 30 30 0d 20 | 0d 20 20 57 72 69 74 65 |sr 100. |. Write|
|00001a40| 20 22 41 54 2b 56 43 3d | 30 5c 72 22 0d 20 20 4a | "AT+VC=|0\r". J|
|00001a50| 73 72 20 31 32 30 0d 20 | 0d 20 0d 21 0d 21 20 53 |sr 120. |. .!.! S|
|00001a60| 65 74 20 74 68 65 20 63 | 6f 6d 6d 6f 6e 20 6f 70 |et the c|ommon op|
|00001a70| 74 69 6f 6e 73 0d 21 0d | 20 20 4a 73 72 20 37 30 |tions.!.| Jsr 70|
|00001a80| 0d 21 0d 21 20 53 65 74 | 20 74 68 65 20 46 61 78 |.!.! Set| the Fax|
|00001a90| 20 6d 6f 64 65 0d 21 20 | 26 4b 34 3a 20 58 6f 6e | mode.! |&K4: Xon|
|00001aa0| 2f 58 6f 66 66 20 68 61 | 6e 64 73 68 61 6b 65 0d |/Xoff ha|ndshake.|
|00001ab0| 21 0d 20 20 57 72 69 74 | 65 20 22 41 54 26 4b 34 |!. Writ|e "AT&K4|
|00001ac0| 2b 46 43 4c 41 53 53 3d | 31 5c 72 22 0d 20 20 4a |+FCLASS=|1\r". J|
|00001ad0| 73 72 20 31 30 30 0d 20 | 20 57 72 69 74 65 20 22 |sr 100. | Write "|
|00001ae0| 41 54 2b 56 43 3d 30 5c | 72 22 0d 20 20 4a 73 72 |AT+VC=0\|r". Jsr|
|00001af0| 20 31 32 30 0d 21 0d 21 | 20 4e 6f 77 20 65 6d 69 | 120.!.!| Now emi|
|00001b00| 74 20 61 6c 6c 20 63 6f | 6d 6d 61 6e 64 73 20 74 |t all co|mmands t|
|00001b10| 68 61 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |hat the |applicat|
|00001b20| 69 6f 6e 20 68 61 73 20 | 73 65 6e 74 20 74 6f 20 |ion has |sent to |
|00001b30| 74 68 61 74 20 70 6f 72 | 74 2c 0d 21 20 65 78 63 |that por|t,.! exc|
|00001b40| 65 70 74 20 22 2b 46 43 | 4c 41 53 53 22 2c 20 65 |ept "+FC|LASS", e|
|00001b50| 74 63 0d 21 0d 20 20 45 | 6d 69 74 43 6c 65 61 72 |tc.!. E|mitClear|
|00001b60| 20 22 2b 46 43 4c 41 53 | 53 22 2c 22 56 22 2c 22 | "+FCLAS|S","V","|
|00001b70| 45 22 2c 22 53 30 22 0d | 20 20 4a 73 72 20 36 30 |E","S0".| Jsr 60|
|00001b80| 0d 20 20 57 72 69 74 65 | 20 22 41 54 56 30 5c 72 |. Write| "ATV0\r|
|00001b90| 22 0d 20 20 4a 73 72 20 | 31 31 30 0d 21 0d 21 20 |". Jsr |110.!.! |
|00001ba0| 50 72 65 70 61 72 65 20 | 74 6f 20 72 65 63 65 69 |Prepare |to recei|
|00001bb0| 76 65 20 61 6c 6c 20 65 | 72 72 6f 72 20 72 65 73 |ve all e|rror res|
|00001bc0| 75 6c 74 20 63 6f 64 65 | 73 2c 20 64 69 61 6c 20 |ult code|s, dial |
|00001bd0| 74 68 65 20 6e 75 6d 62 | 65 72 0d 21 0d 20 20 4d |the numb|er.!. M|
|00001be0| 61 74 63 68 43 6c 72 0d | 20 20 4d 61 74 63 68 53 |atchClr.| MatchS|
|00001bf0| 74 72 20 30 31 20 33 30 | 20 22 31 5c 72 22 0d 20 |tr 01 30| "1\r". |
|00001c00| 20 4d 61 74 63 68 53 74 | 72 20 31 33 20 39 33 20 | MatchSt|r 13 93 |
|00001c10| 22 33 5c 72 22 0d 20 20 | 4d 61 74 63 68 53 74 72 |"3\r". |MatchStr|
|00001c20| 20 31 34 20 39 34 20 22 | 38 5c 72 22 0d 20 20 4d | 14 94 "|8\r". M|
|00001c30| 61 74 63 68 53 74 72 20 | 31 35 20 39 32 20 22 37 |atchStr |15 92 "7|
|00001c40| 5c 72 22 0d 20 20 57 72 | 69 74 65 20 22 41 54 44 |\r". Wr|ite "ATD|
|00001c50| 5e 31 5c 72 22 0d 20 20 | 48 73 52 65 73 65 74 20 |^1\r". |HsReset |
|00001c60| 2a 0d 20 20 4d 61 74 63 | 68 52 65 61 64 20 39 30 |*. Matc|hRead 90|
|00001c70| 30 0d 20 20 57 72 69 74 | 65 20 22 5c 72 22 0d 20 |0. Writ|e "\r". |
|00001c80| 20 45 78 69 74 20 2d 36 | 30 31 39 0d 20 0d 21 0d | Exit -6|019. .!.|
|00001c90| 21 20 53 65 74 20 74 68 | 65 20 63 6f 6d 6d 75 6e |! Set th|e commun|
|00001ca0| 69 63 61 74 69 6f 6e 20 | 6f 70 74 69 6f 6e 73 3a |ication |options:|
|00001cb0| 0d 21 20 a5 20 5c 4e 30 | 20 26 51 36 3a 20 4e 6f |.! . \N0| &Q6: No|
|00001cc0| 72 6d 61 6c 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 |rmal con|nection |
|00001cd0| 28 66 6f 72 20 41 52 41 | 29 0d 21 20 a5 20 26 4b |(for ARA|).! . &K|
|00001ce0| 33 3a 20 48 57 20 66 6c | 6f 77 20 63 6f 6e 74 72 |3: HW fl|ow contr|
|00001cf0| 6f 6c 20 20 20 20 20 20 | 20 28 66 6f 72 20 41 52 |ol | (for AR|
|00001d00| 41 2c 20 46 61 78 20 73 | 68 6f 75 6c 64 20 6e 6f |A, Fax s|hould no|
|00001d10| 74 20 75 73 65 20 61 20 | 68 61 6e 64 73 68 61 6b |t use a |handshak|
|00001d20| 65 20 6f 6e 20 72 65 63 | 65 69 76 69 6e 67 29 0d |e on rec|eiving).|
|00001d30| 21 20 a5 20 57 31 3a 20 | 20 72 65 70 6f 72 74 20 |! . W1: | report |
|00001d40| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 73 70 65 65 64 |connecti|on speed|
|00001d50| 0d 21 0d 40 4c 61 62 65 | 6c 20 35 35 0d 20 20 57 |.!.@Labe|l 55. W|
|00001d60| 72 69 74 65 20 22 41 54 | 5c 5c 4e 30 26 51 36 26 |rite "AT|\\N0&Q6&|
|00001d70| 4b 33 57 31 5c 72 22 0d | 20 20 4a 73 72 20 31 30 |K3W1\r".| Jsr 10|
|00001d80| 30 0d 20 20 72 65 74 75 | 72 6e 0d 20 0d 21 0d 21 |0. retu|rn. .!.!|
|00001d90| 20 54 68 69 73 20 73 65 | 63 74 69 6f 6e 20 65 6d | This se|ction em|
|00001da0| 69 74 73 20 61 6c 6c 20 | 6d 6f 64 65 6d 20 63 6f |its all |modem co|
|00001db0| 6d 6d 61 6e 64 73 20 73 | 65 6e 74 20 66 72 6f 6d |mmands s|ent from|
|00001dc0| 20 74 68 65 20 63 6c 69 | 65 6e 74 20 61 70 70 6c | the cli|ent appl|
|00001dd0| 69 63 61 74 69 6f 6e 0d | 21 20 46 6f 72 20 65 61 |ication.|! For ea|
|00001de0| 63 68 20 73 65 74 20 6f | 66 20 63 6f 6d 6d 61 6e |ch set o|f comman|
|00001df0| 64 73 20 74 68 65 20 22 | 4f 4b 22 20 61 6e 73 77 |ds the "|OK" answ|
|00001e00| 65 72 20 69 73 20 61 77 | 61 69 74 65 64 0d 21 0d |er is aw|aited.!.|
|00001e10| 40 4c 61 62 65 6c 20 36 | 30 0d 20 20 45 6d 69 74 |@Label 6|0. Emit|
|00001e20| 53 74 61 72 74 0d 40 4c | 61 62 65 6c 20 36 31 0d |Start.@L|abel 61.|
|00001e30| 20 20 45 6d 69 74 43 6f | 6d 6d 61 6e 64 20 36 32 | EmitCo|mmand 62|
|00001e40| 0d 20 20 4a 73 72 20 31 | 30 30 0d 20 20 4a 75 6d |. Jsr 1|00. Jum|
|00001e50| 70 20 36 31 0d 40 4c 61 | 62 65 6c 20 36 32 0d 20 |p 61.@La|bel 62. |
|00001e60| 20 72 65 74 75 72 6e 0d | 21 0d 21 20 54 68 69 73 | return.|!.! This|
|00001e70| 20 73 65 63 74 69 6f 6e | 20 69 6e 69 74 69 61 74 | section| initiat|
|00001e80| 65 73 20 74 68 65 20 6d | 6f 64 65 6d 20 62 65 66 |es the m|odem bef|
|00001e90| 6f 72 65 20 41 4e 53 57 | 45 52 20 61 6e 64 20 4f |ore ANSW|ER and O|
|00001ea0| 52 49 47 49 4e 41 54 45 | 73 3a 0d 21 20 65 78 74 |RIGINATE|s:.! ext|
|00001eb0| 65 6e 64 65 64 20 72 65 | 73 70 6f 6e 73 65 73 20 |ended re|sponses |
|00001ec0| 2b 20 63 6f 6e 6e 65 63 | 74 20 61 74 20 74 68 65 |+ connec|t at the|
|00001ed0| 20 68 69 67 68 65 73 74 | 20 72 61 74 65 20 2b 20 | highest| rate + |
|00001ee0| 73 70 65 61 6b 65 72 20 | 63 6f 6e 74 72 6f 6c 20 |speaker |control |
|00001ef0| 2b 0d 21 20 72 65 73 65 | 74 20 6f 6e 20 44 74 72 |+.! rese|t on Dtr|
|00001f00| 20 64 72 6f 70 20 2b 20 | 44 43 44 20 76 61 6c 69 | drop + |DCD vali|
|00001f10| 64 0d 21 20 56 65 72 62 | 61 6c 20 72 65 73 70 6f |d.! Verb|al respo|
|00001f20| 6e 73 65 73 20 6d 6f 64 | 65 2c 20 6e 6f 20 65 63 |nses mod|e, no ec|
|00001f30| 68 6f 0d 21 0d 40 4c 61 | 62 65 6c 20 37 30 0d 20 |ho.!.@La|bel 70. |
|00001f40| 20 57 72 69 74 65 20 22 | 41 54 58 34 4e 31 4d 5e | Write "|ATX4N1M^|
|00001f50| 32 4c 5e 33 5e 36 26 43 | 31 56 31 45 30 5c 72 22 |2L^3^6&C|1V1E0\r"|
|00001f60| 0d 20 20 4a 73 72 20 31 | 30 30 0d 20 20 72 65 74 |. Jsr 1|00. ret|
|00001f70| 75 72 6e 0d 20 0d 21 0d | 21 20 54 68 69 73 20 73 |urn. .!.|! This s|
|00001f80| 65 63 74 69 6f 6e 20 73 | 79 6e 63 72 6f 6e 69 7a |ection s|yncroniz|
|00001f90| 65 20 74 68 65 20 6d 6f | 64 65 6d 20 61 66 74 65 |e the mo|dem afte|
|00001fa0| 72 20 74 68 65 20 73 65 | 72 69 61 6c 20 70 6f 72 |r the se|rial por|
|00001fb0| 74 20 73 70 65 65 64 20 | 73 77 69 74 63 68 69 6e |t speed |switchin|
|00001fc0| 67 0d 21 0d 40 4c 61 62 | 65 6c 20 38 30 0d 20 20 |g.!.@Lab|el 80. |
|00001fd0| 43 68 72 44 65 6c 61 79 | 20 31 0d 20 20 57 72 69 |ChrDelay| 1. Wri|
|00001fe0| 74 65 20 22 5c 72 5c 72 | 22 0d 20 20 50 61 75 73 |te "\r\r|". Paus|
|00001ff0| 65 20 32 0d 20 20 57 72 | 69 74 65 20 22 41 54 5c |e 2. Wr|ite "AT\|
|00002000| 72 22 0d 20 20 43 68 72 | 44 65 6c 61 79 20 30 0d |r". Chr|Delay 0.|
|00002010| 20 20 4a 73 72 20 31 30 | 30 0d 20 20 72 65 74 75 | Jsr 10|0. retu|
|00002020| 72 6e 0d 21 0d 21 20 50 | 72 65 70 61 72 65 20 74 |rn.!.! P|repare t|
|00002030| 6f 20 72 65 63 65 69 76 | 65 20 65 72 72 6f 72 20 |o receiv|e error |
|00002040| 72 65 73 75 6c 74 20 63 | 6f 64 65 73 2c 20 73 65 |result c|odes, se|
|00002050| 6e 64 20 74 68 65 20 64 | 69 61 6c 69 6e 67 20 63 |nd the d|ialing c|
|00002060| 6f 6d 6d 61 6e 64 20 61 | 6e 64 0d 21 20 73 65 74 |ommand a|nd.! set|
|00002070| 20 74 68 65 20 75 73 65 | 72 27 73 20 68 61 6e 64 | the use|r's hand|
|00002080| 73 68 61 6b 65 20 6d 6f | 64 65 0d 21 0d 40 4c 61 |shake mo|de.!.@La|
|00002090| 62 65 6c 20 39 30 0d 20 | 20 4d 61 74 63 68 43 6c |bel 90. | MatchCl|
|000020a0| 72 0d 20 20 4d 61 74 63 | 68 53 74 72 20 32 20 39 |r. Matc|hStr 2 9|
|000020b0| 31 20 22 4e 4f 20 44 49 | 41 4c 54 4f 4e 45 5c 72 |1 "NO DI|ALTONE\r|
|000020c0| 5c 6e 22 0d 20 20 4d 61 | 74 63 68 53 74 72 20 33 |\n". Ma|tchStr 3|
|000020d0| 20 39 32 20 22 42 55 53 | 59 5c 72 5c 6e 22 0d 20 | 92 "BUS|Y\r\n". |
|000020e0| 20 4d 61 74 63 68 53 74 | 72 20 34 20 39 33 20 22 | MatchSt|r 4 93 "|
|000020f0| 4e 4f 20 43 41 52 52 49 | 45 52 5c 72 5c 6e 22 0d |NO CARRI|ER\r\n".|
|00002100| 20 20 4d 61 74 63 68 53 | 74 72 20 35 20 39 34 20 | MatchS|tr 5 94 |
|00002110| 22 4e 4f 20 41 4e 53 57 | 45 52 5c 72 5c 6e 22 0d |"NO ANSW|ER\r\n".|
|00002120| 20 20 57 72 69 74 65 20 | 22 41 54 44 5e 31 5c 72 | Write |"ATD^1\r|
|00002130| 22 0d 20 20 48 73 52 65 | 73 65 74 20 2a 0d 20 20 |". HsRe|set *. |
|00002140| 72 65 74 75 72 6e 0d 20 | 0d 40 4c 61 62 65 6c 20 |return. |.@Label |
|00002150| 39 31 0d 20 20 65 78 69 | 74 20 2d 36 30 32 30 0d |91. exi|t -6020.|
|00002160| 40 4c 61 62 65 6c 20 39 | 32 0d 20 20 65 78 69 74 |@Label 9|2. exit|
|00002170| 20 2d 36 30 32 32 0d 40 | 4c 61 62 65 6c 20 39 33 | -6022.@|Label 93|
|00002180| 0d 20 20 65 78 69 74 20 | 2d 36 30 32 31 0d 40 4c |. exit |-6021.@L|
|00002190| 61 62 65 6c 20 39 34 0d | 20 20 65 78 69 74 20 2d |abel 94.| exit -|
|000021a0| 36 30 32 33 0d 21 0d 21 | 20 50 72 6f 63 65 73 73 |6023.!.!| Process|
|000021b0| 69 6e 67 20 74 68 65 20 | 41 54 20 63 6f 6d 6d 61 |ing the |AT comma|
|000021c0| 6e 64 3a 0d 21 20 4f 4b | 20 2d 3e 20 70 72 6f 63 |nd:.! OK| -> proc|
|000021d0| 65 65 64 0d 21 20 45 52 | 52 4f 52 20 6f 72 20 54 |eed.! ER|ROR or T|
|000021e0| 69 6d 65 4f 75 74 20 2d | 3e 65 78 69 74 20 2d 36 |imeOut -|>exit -6|
|000021f0| 30 31 39 0d 21 20 49 74 | 20 63 61 6e 20 62 65 20 |019.! It| can be |
|00002200| 63 61 6c 6c 65 64 20 41 | 46 54 45 52 20 74 68 65 |called A|FTER the|
|00002210| 20 22 57 72 69 74 65 22 | 20 63 6f 6d 6d 61 6e 64 | "Write"| command|
|00002220| 2c 20 73 69 6e 63 65 20 | 4c 69 6e 65 53 68 61 72 |, since |LineShar|
|00002230| 65 20 62 75 66 66 65 72 | 73 20 69 6e 70 75 74 0d |e buffer|s input.|
|00002240| 21 0d 40 4c 61 62 65 6c | 20 31 30 30 0d 20 20 4d |!.@Label| 100. M|
|00002250| 61 74 63 68 43 6c 72 0d | 20 20 4d 61 74 63 68 53 |atchClr.| MatchS|
|00002260| 74 72 20 31 20 31 30 33 | 20 22 5c 72 5c 6e 4f 4b |tr 1 103| "\r\nOK|
|00002270| 5c 72 5c 6e 22 0d 20 20 | 4d 61 74 63 68 53 74 72 |\r\n". |MatchStr|
|00002280| 20 32 20 31 30 32 20 22 | 5c 72 5c 6e 45 52 52 4f | 2 102 "|\r\nERRO|
|00002290| 52 5c 72 5c 6e 22 0d 40 | 4c 61 62 65 6c 20 31 30 |R\r\n".@|Label 10|
|000022a0| 31 0d 20 20 4d 61 74 63 | 68 52 65 61 64 20 32 30 |1. Matc|hRead 20|
|000022b0| 0d 40 4c 61 62 65 6c 20 | 31 30 32 0d 20 20 45 78 |.@Label |102. Ex|
|000022c0| 69 74 20 2d 36 30 31 39 | 0d 40 4c 61 62 65 6c 20 |it -6019|.@Label |
|000022d0| 31 30 33 0d 20 20 72 65 | 74 75 72 6e 0d 20 0d 40 |103. re|turn. .@|
|000022e0| 4c 61 62 65 6c 20 31 31 | 30 0d 20 20 4d 61 74 63 |Label 11|0. Matc|
|000022f0| 68 43 6c 72 0d 20 20 4d | 61 74 63 68 53 74 72 20 |hClr. M|atchStr |
|00002300| 31 20 31 30 33 20 22 30 | 5c 72 22 0d 20 20 4d 61 |1 103 "0|\r". Ma|
|00002310| 74 63 68 53 74 72 20 32 | 20 31 30 32 20 22 34 5c |tchStr 2| 102 "4\|
|00002320| 72 22 0d 20 20 4a 75 6d | 70 20 31 30 31 0d 20 0d |r". Jum|p 101. .|
|00002330| 40 4c 61 62 65 6c 20 31 | 32 30 0d 20 20 4d 61 74 |@Label 1|20. Mat|
|00002340| 63 68 43 6c 72 0d 20 20 | 4d 61 74 63 68 53 74 72 |chClr. |MatchStr|
|00002350| 20 31 20 31 30 33 20 22 | 5c 72 5c 6e 4f 4b 5c 72 | 1 103 "|\r\nOK\r|
|00002360| 5c 6e 22 0d 20 20 4d 61 | 74 63 68 53 74 72 20 32 |\n". Ma|tchStr 2|
|00002370| 20 31 30 33 20 22 5c 72 | 5c 6e 45 52 52 4f 52 5c | 103 "\r|\nERROR\|
|00002380| 72 5c 6e 22 0d 20 20 4d | 61 74 63 68 52 65 61 64 |r\n". M|atchRead|
|00002390| 20 32 30 0d 20 20 45 78 | 69 74 20 2d 36 30 31 39 | 20. Ex|it -6019|
|000023a0| 0d 20 0d 21 54 68 69 73 | 20 7a 65 72 6f 73 20 6f |. .!This| zeros o|
|000023b0| 75 74 20 61 20 6c 6f 63 | 61 74 69 6f 6e 20 69 6e |ut a loc|ation in|
|000023c0| 20 6d 65 6d 6f 72 79 20 | 74 68 61 74 0d 21 77 68 | memory |that.!wh|
|000023d0| 65 6e 20 63 6c 65 61 72 | 65 64 2c 20 65 6e 61 62 |en clear|ed, enab|
|000023e0| 6c 65 73 20 53 54 46 20 | 74 6f 20 73 65 6e 64 2f |les STF |to send/|
|000023f0| 72 65 63 65 69 76 65 20 | 66 61 78 65 73 2e 0d 40 |receive |faxes..@|
|00002400| 4c 61 62 65 6c 20 31 33 | 30 0d 20 20 4d 61 74 63 |Label 13|0. Matc|
|00002410| 68 43 6c 72 0d 20 20 57 | 72 69 74 65 20 22 41 54 |hClr. W|rite "AT|
|00002420| 21 32 30 30 30 4d 5c 72 | 22 0d 20 20 4d 61 74 63 |!2000M\r|". Matc|
|00002430| 68 53 74 72 20 31 20 31 | 33 31 20 22 5c 72 5c 6e |hStr 1 1|31 "\r\n|
|00002440| 32 30 30 30 3a 20 22 0d | 20 20 4d 61 74 63 68 52 |2000: ".| MatchR|
|00002450| 65 61 64 20 32 30 0d 20 | 20 4a 75 6d 70 20 31 35 |ead 20. | Jump 15|
|00002460| 30 0d 20 0d 40 4c 61 62 | 65 6c 20 31 33 31 0d 20 |0. .@Lab|el 131. |
|00002470| 20 4d 61 74 63 68 43 6c | 72 0d 20 20 57 72 69 74 | MatchCl|r. Writ|
|00002480| 65 20 22 30 30 22 0d 20 | 20 4d 61 74 63 68 53 74 |e "00". | MatchSt|
|00002490| 72 20 31 20 31 33 32 20 | 22 5c 72 5c 6e 32 30 30 |r 1 132 |"\r\n200|
|000024a0| 31 3a 20 22 0d 20 20 4d | 61 74 63 68 52 65 61 64 |1: ". M|atchRead|
|000024b0| 32 30 0d 20 20 4a 75 6d | 70 20 31 35 30 0d 20 0d |20. Jum|p 150. .|
|000024c0| 40 4c 61 62 65 6c 20 31 | 33 32 0d 20 20 4d 61 74 |@Label 1|32. Mat|
|000024d0| 63 68 43 6c 72 0d 20 20 | 57 72 69 74 65 20 22 30 |chClr. |Write "0|
|000024e0| 30 22 0d 20 20 4d 61 74 | 63 68 53 74 72 20 31 20 |0". Mat|chStr 1 |
|000024f0| 31 33 33 20 22 5c 72 5c | 6e 32 30 30 32 3a 20 22 |133 "\r\|n2002: "|
|00002500| 0d 20 20 4d 61 74 63 68 | 52 65 61 64 20 32 30 0d |. Match|Read 20.|
|00002510| 20 20 4a 75 6d 70 20 31 | 35 30 0d 20 0d 40 4c 61 | Jump 1|50. .@La|
|00002520| 62 65 6c 20 31 33 33 0d | 20 20 4d 61 74 63 68 43 |bel 133.| MatchC|
|00002530| 6c 72 0d 20 20 57 72 69 | 74 65 20 22 30 30 22 0d |lr. Wri|te "00".|
|00002540| 20 20 4d 61 74 63 68 53 | 74 72 20 31 20 31 33 34 | MatchS|tr 1 134|
|00002550| 20 22 5c 72 5c 6e 32 30 | 30 33 3a 20 22 0d 20 20 | "\r\n20|03: ". |
|00002560| 4d 61 74 63 68 52 65 61 | 64 20 32 30 0d 20 20 4a |MatchRea|d 20. J|
|00002570| 75 6d 70 20 31 35 30 0d | 20 0d 40 4c 61 62 65 6c |ump 150.| .@Label|
|00002580| 20 31 33 34 0d 20 20 4d | 61 74 63 68 43 6c 72 0d | 134. M|atchClr.|
|00002590| 20 20 57 72 69 74 65 20 | 22 30 30 22 0d 20 20 4d | Write |"00". M|
|000025a0| 61 74 63 68 53 74 72 20 | 31 20 31 33 35 20 22 5c |atchStr |1 135 "\|
|000025b0| 72 5c 6e 32 30 30 34 3a | 20 22 0d 20 20 4d 61 74 |r\n2004:| ". Mat|
|000025c0| 63 68 52 65 61 64 20 32 | 30 0d 20 20 4a 75 6d 70 |chRead 2|0. Jump|
|000025d0| 20 31 35 30 0d 20 0d 40 | 4c 61 62 65 6c 20 31 33 | 150. .@|Label 13|
|000025e0| 35 0d 20 20 4d 61 74 63 | 68 43 6c 72 0d 20 20 57 |5. Matc|hClr. W|
|000025f0| 72 69 74 65 20 22 20 22 | 0d 20 20 4a 73 72 20 31 |rite " "|. Jsr 1|
|00002600| 30 30 0d 20 0d 40 4c 61 | 62 65 6c 20 31 33 36 0d |00. .@La|bel 136.|
|00002610| 20 20 4d 61 74 63 68 43 | 6c 72 0d 20 20 57 72 69 | MatchC|lr. Wri|
|00002620| 74 65 20 22 41 54 21 32 | 30 30 37 4d 5c 72 22 0d |te "AT!2|007M\r".|
|00002630| 20 20 4d 61 74 63 68 53 | 74 72 20 31 20 31 33 37 | MatchS|tr 1 137|
|00002640| 20 22 5c 72 5c 6e 32 30 | 30 37 3a 20 22 0d 20 20 | "\r\n20|07: ". |
|00002650| 4d 61 74 63 68 52 65 61 | 64 20 32 30 0d 20 20 4a |MatchRea|d 20. J|
|00002660| 75 6d 70 20 31 35 30 0d | 20 0d 40 4c 61 62 65 6c |ump 150.| .@Label|
|00002670| 20 31 33 37 0d 20 20 4d | 61 74 63 68 43 6c 72 0d | 137. M|atchClr.|
|00002680| 20 20 57 72 69 74 65 20 | 22 30 30 22 0d 20 20 4d | Write |"00". M|
|00002690| 61 74 63 68 53 74 72 20 | 31 20 31 33 38 20 22 5c |atchStr |1 138 "\|
|000026a0| 72 5c 6e 32 30 30 38 3a | 20 22 0d 20 20 4d 61 74 |r\n2008:| ". Mat|
|000026b0| 63 68 52 65 61 64 32 30 | 0d 20 20 4a 75 6d 70 20 |chRead20|. Jump |
|000026c0| 31 35 30 0d 20 0d 40 4c | 61 62 65 6c 20 31 33 38 |150. .@L|abel 138|
|000026d0| 0d 20 20 4d 61 74 63 68 | 43 6c 72 0d 20 20 57 72 |. Match|Clr. Wr|
|000026e0| 69 74 65 20 22 30 30 22 | 0d 20 20 4d 61 74 63 68 |ite "00"|. Match|
|000026f0| 53 74 72 20 31 20 31 33 | 39 20 22 5c 72 5c 6e 32 |Str 1 13|9 "\r\n2|
|00002700| 30 30 39 3a 20 22 0d 20 | 20 4d 61 74 63 68 52 65 |009: ". | MatchRe|
|00002710| 61 64 32 30 0d 20 20 4a | 75 6d 70 20 31 35 30 0d |ad20. J|ump 150.|
|00002720| 20 0d 40 4c 61 62 65 6c | 20 31 33 39 0d 20 20 4d | .@Label| 139. M|
|00002730| 61 74 63 68 43 6c 72 0d | 20 20 57 72 69 74 65 20 |atchClr.| Write |
|00002740| 22 30 30 22 0d 20 20 4d | 61 74 63 68 53 74 72 20 |"00". M|atchStr |
|00002750| 31 20 31 34 30 20 22 5c | 72 5c 6e 32 30 30 41 3a |1 140 "\|r\n200A:|
|00002760| 20 22 0d 20 20 4d 61 74 | 63 68 52 65 61 64 32 30 | ". Mat|chRead20|
|00002770| 0d 20 20 4a 75 6d 70 20 | 31 35 30 0d 20 0d 40 4c |. Jump |150. .@L|
|00002780| 61 62 65 6c 20 31 34 30 | 0d 20 20 4d 61 74 63 68 |abel 140|. Match|
|00002790| 43 6c 72 0d 20 20 57 72 | 69 74 65 20 22 30 30 22 |Clr. Wr|ite "00"|
|000027a0| 0d 20 20 4d 61 74 63 68 | 53 74 72 20 31 20 31 34 |. Match|Str 1 14|
|000027b0| 31 20 22 5c 72 5c 6e 32 | 30 30 42 3a 20 22 0d 20 |1 "\r\n2|00B: ". |
|000027c0| 20 4d 61 74 63 68 52 65 | 61 64 32 30 0d 20 20 4a | MatchRe|ad20. J|
|000027d0| 75 6d 70 20 31 35 30 0d | 20 0d 40 4c 61 62 65 6c |ump 150.| .@Label|
|000027e0| 20 31 34 31 0d 20 20 57 | 72 69 74 65 20 22 20 22 | 141. W|rite " "|
|000027f0| 0d 20 20 4a 73 72 20 31 | 30 30 0d 20 20 72 65 74 |. Jsr 1|00. ret|
|00002800| 75 72 6e 0d 20 0d 40 4c | 61 62 65 6c 20 31 35 30 |urn. .@L|abel 150|
|00002810| 0d 20 20 4e 6f 74 65 20 | 22 45 72 72 6f 72 20 63 |. Note |"Error c|
|00002820| 6c 65 61 72 69 6e 67 20 | 74 68 65 20 6d 6f 64 65 |learing |the mode|
|00002830| 6d 27 73 20 6d 65 6d 6f | 72 79 22 0d 20 20 50 61 |m's memo|ry". Pa|
|00002840| 75 73 65 20 35 30 0d 20 | 20 57 72 69 74 65 20 22 |use 50. | Write "|
|00002850| 20 20 20 22 0d 20 20 72 | 65 74 75 72 6e 0d 20 0d | ". r|eturn. .|
|00002860| 40 4c 61 62 65 6c 20 31 | 36 30 0d 20 20 77 72 69 |@Label 1|60. wri|
|00002870| 74 65 20 22 41 54 53 30 | 3d 30 5c 72 22 0d 20 20 |te "ATS0|=0\r". |
|00002880| 4a 73 72 20 31 30 30 0d | 20 20 4e 6f 74 65 20 22 |Jsr 100.| Note "|
|00002890| 56 6f 69 63 65 2c 20 41 | 52 41 2c 20 61 6e 64 20 |Voice, A|RA, and |
|000028a0| 46 61 78 20 6e 6f 74 20 | 72 75 6e 6e 69 6e 67 22 |Fax not |running"|
|000028b0| 0d 20 20 50 61 75 73 65 | 20 33 30 30 0d 20 20 4a |. Pause| 300. J|
|000028c0| 75 6d 70 20 33 0d 20 00 | 00 00 00 00 00 00 00 00 |ump 3. .|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00002910| 00 00 00 02 05 49 63 6f | 6e 0d 02 00 00 00 00 00 |.....Ico|n.......|
|00002920| 00 00 00 00 00 00 40 00 | 00 00 00 00 00 00 00 00 |......@.|........|
|00002930| 14 53 75 70 72 61 20 56 | 6f 69 63 65 26 46 61 78 |.Supra V|oice&Fax|
|00002940| 31 26 41 52 41 78 02 00 | 00 00 50 61 72 74 53 49 |1&ARAx..|..PartSI|
|00002950| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 ab 53 d2 d8 00 00 | 00 00 00 00 01 ac 00 00 |...S....|........|
|00002980| 17 00 00 00 00 02 11 49 | 63 6f 6e 46 61 6d 69 6c |.......I|conFamil|
|00002990| 79 4d 61 6b 65 72 32 33 | 02 00 00 00 50 41 43 54 |yMaker23|....PACT|
|000029a0| 43 50 43 54 01 00 00 b6 | 01 40 00 00 00 00 d2 20 |CPCT....|.@..... |
|000029b0| 00 00 00 01 63 bb 00 01 | 6c 00 00 00 00 00 00 00 |....c...|l.......|
|000029c0| 00 00 00 00 a9 44 5e 20 | a9 44 5e 2c 00 00 00 00 |.....D^ |.D^,....|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 e0 28 00 0e 00 00 | 00 00 00 00 00 00 00 00 |...(....|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 40 |........|.......@|
|00002a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 64 20 39 |...H..Mo|naco.d 9|
|00002a10| 36 30 30 62 70 73 20 66 | 61 78 20 6d 6f 64 65 6d |600bps f|ax modem|
|00002a20| 73 2e 20 53 75 70 00 06 | 00 04 00 3c 00 24 02 6d |s. Sup..|...<.$.m|
|00002a30| 02 fd 00 3c 00 24 02 6d | 02 fd a9 65 7c eb 00 00 |...<.$.m|...e|...|
|00002a40| 07 db 00 00 07 db 00 00 | 06 6b 01 00 00 00 00 1e |........|.k......|
|00002a50| 00 3c 00 24 02 6d 02 fd | 00 3c 00 24 02 6d 02 fd |.<.$.m..|.<.$.m..|
|00002a60| 00 00 06 6b 00 00 00 00 | 00 00 00 00 00 00 00 00 |...k....|........|
|00002a70| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 a2 |.....n..|.n...>..|
|00002a80| f3 68 14 f0 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |.h......|.>..MPSR|
|00002a90| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00002aa0| 03 f0 ff ff 00 00 00 4c | 00 a4 f3 8c 00 00 00 00 |.......L|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+